Method and apparatus for performing image processing operation based on frame/algorithm selection

ABSTRACT

One image processing method has at least the following steps: receiving an image input in a device, wherein the image input is composed of at least one source image; receiving image selection information; regarding a source image included in the image input, checking the image selection information to determine whether the source image is selected or skipped; and performing an object oriented image processing operation upon each selected source image. Another image processing method has at least the following steps: receiving an image input in a device, wherein the image input is composed of at least one source image; receiving algorithm selection information; and regarding a source image included in the image input, checking the algorithm selection information to determine a selected image processing algorithm from a plurality of different image processing algorithms, and performing an image processing operation upon the source image based on the selected image processing algorithm.

BACKGROUND

The disclosed embodiments of the present invention relate to image processing, and more particularly, to a method and an apparatus for performing an image processing operation based on frame/algorithm selection.

Face detection is a technique used in a variety of applications. For example, a digital camera may employ a face detection function to find face(s) in a preview image. The performance of the face detection may be evaluated in terms of a detection rate and a false positive rate, where the detection rate gives positive results in locations where faces do exist, and the false positive rate gives positive results in locations where no faces exist. A good face detection system should have a high detection rate and a low false positive rate. The convention face detection system processes each input frame for detecting face(s) included therein, and therefore has high computational complexity. When some of the input frames are unreliable due to poor image quality, the conventional face detection system would have bad face detection results, which results in degraded face detection performance (i.e., low detection rate and high false positive rate).

SUMMARY

In accordance with exemplary embodiments of the present invention, a method and an apparatus for performing an image processing operation based on frame/algorithm selection are proposed to solve the aforementioned problem.

According to a first aspect of the present invention, an exemplary image processing method is disclosed. The exemplary image processing method includes at least the following steps: receiving an image input in a device, wherein the image input is composed of at least one source image; receiving image selection information; regarding a source image included in the image input, checking the image selection information to determine whether the source image is selected or skipped; and performing an object oriented image processing operation upon each selected source image.

According to a second aspect, an exemplary image processing method is disclosed. The exemplary image processing method includes at least the following steps: receiving an image input in a device, wherein the image input is composed of at least one source image; receiving algorithm selection information; and regarding a source image included in the image input, checking the algorithm selection information to determine a selected image processing algorithm from a plurality of different image processing algorithms, and performing an image processing operation upon the source image based on the selected image processing algorithm.

According to a third aspect of the present invention, an exemplary image processing apparatus is disclosed. The exemplary image processing apparatus has a frame selection unit and an image processing unit. The frame selection unit is arranged for receiving an image input in a device, wherein the image input is composed of at least one source image; receiving image selection information; and regarding a source image included in the image input, checking the image selection information to determine whether the source image is selected or skipped. The image processing unit is arranged for performing an object oriented image processing operation upon each selected source image.

According to a fourth aspect of the present invention, an exemplary image processing apparatus is disclosed. The exemplary image processing apparatus includes an algorithm selection unit and an image processing unit. The image processing unit is arranged for receiving an image input in a device, wherein the image input is composed of at least one source image; and performing an image processing operation upon a source image based on a selected image processing algorithm. The algorithm selection unit is arranged for receiving algorithm selection information; and regarding the source image included in the image input, checking the algorithm selection information to determine the selected image processing algorithm from a plurality of different image processing algorithms.

These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating an image processing apparatus according to an embodiment of the present invention.

FIG. 2 is a flowchart illustrating an exemplary image processing method based on image selection information generated from an auxiliary sensor.

FIG. 3 is a flowchart illustrating an exemplary image processing method based on image selection information generated from a processing circuit of an image capture apparatus.

FIG. 4 is a flowchart illustrating an exemplary image processing method based on image selection information generated from a processing circuit which also generates an image input.

FIG. 5 is a flowchart illustrating an exemplary image processing method based on image selection information generated from a user interface.

FIG. 6 is a diagram illustrating an example of determining a position of an estimated object marker.

FIG. 7 is a diagram illustrating an image processing apparatus according to another embodiment of the present invention.

FIG. 8 is a flowchart illustrating an exemplary image processing method based on algorithm selection information generated from an auxiliary sensor.

FIG. 9 is a flowchart illustrating an exemplary image processing method based on algorithm selection information generated from a processing circuit of an image capture apparatus.

FIG. 10 is a flowchart illustrating an exemplary image processing method based on algorithm selection information generated from a processing circuit which also generates an image input.

FIG. 11 is a flowchart illustrating an exemplary image processing method based on algorithm selection information generated from a user interface.

FIG. 12 is a diagram illustrating an example of refining a position of a detected object marker.

DETAILED DESCRIPTION

Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.

FIG. 1 is a diagram illustrating an image processing apparatus according to an embodiment of the present invention. The image processing apparatus 110 may be part of an electronic device 100 such as a digital camera, a smartphone or any device requiring an object detection/object tracking/object recognition function (i.e., object oriented image processing operation). In addition to the image processing apparatus 110, the electronic device 100 has an image capture apparatus 101 with an image sensor 102 included therein, a user interface 103, an least one auxiliary sensor 104, an image signal processor (ISP) 105, a video decoder 106, a frame rate converter 107, an audio/video synchronization (AV-Sync) module 108, and a buffer 109. In this embodiment, the image processing apparatus 110 includes a frame selection unit 112, an image processing unit 114 and an object marker estimator 116. It should be noted that only the elements pertinent to the present invention are shown in FIG. 1. The electronic device 100 is allowed to have additional elements included therein. Besides, based on the actual design requirement/consideration, the electronic device 100 is allowed to omit at least one of the elements shown in FIG. 1.

The frame selection unit 112 receives an image input IMG_IN stored in the buffer 109, where the image input IMG_IN is composed of at least one source image. That is, the image input IMG_IN carries a video content when having a plurality of successive source images, or carries a still image content when having a single source image. In this embodiment, the image input IMG_IN may be an output of at least one of image sensor 102, video decoder 106, frame rate converter 107 and AV-Sync module 108. The frame selection unit 112 further receives image selection information INF_I generated from at least one of user interface 103, auxiliary sensor 104, image signal processor 105, video decoder 106, frame rate converter 107, and AV-Sync module 108. Regarding each source image included in the image input IMG_IN, the frame selection unit 112 checks the image selection information INF_I to determine whether the current source image is selected or skipped. Specifically, when it is determined that the current source image should be selected, the current source image is included in an image output IMG_S generated from the frame selection unit 112; and when it is determined that the current source image should be skipped, the current source image is not included in the image output IMG_S. To put it another way, the frame selection unit 112 serves as an image/frame filter which operates based on the image selection information INF_I.

The image output IMG_S generated from the frame selection unit 112 includes at least one selected source image. The image processing unit 114 receives the image output IMG_S, and performs an object oriented image processing operation upon each selected source image. By way of example, but not limitation, the object oriented image processing operation includes at least one of object detection, object tracking, and object recognition, where the objects detected/tracked/recognized by the object oriented image processing operation may be faces, eyes, man-made objects, etc. As unreliable/redundant source images indicated by the image selection information INF_I are not included in the image output IMG_S, the computational complexity of the image processing unit 114 is relaxed, and/or the accuracy of the object detection/tracking/recognition result is improved. Further details of the image processing apparatus 110 are described as below.

In one exemplary implementation, the image selection information INF_I may give image quality indication of each source mage included in the image input IMG_IN. For example, the image selection information INF_I may be generated from the auxiliary sensor 104 while the image input IMG_IN is generated by the image capture apparatus 101 with the image sensor 102. Hence, the image selection information INF_I indicates whether a source image is a reliable image or an unreliable image. Please refer to FIG. 2 in conjunction with FIG. 1. FIG. 2 is a flowchart illustrating an exemplary image processing method based on the image selection information INF_I generated from an auxiliary sensor. The frame selection unit 112 checks source images included in the image input IMG_IN one by one. In step 202, the frame selection unit 112 receives a source image in the electronic device 100. In a case where the image selection information INF_I is generated from the auxiliary sensor 104, the auxiliary sensor 104 may be a Gyro sensor or a G-sensor (Accelerometer) which sets the image selection information INF_I according to the related sensor information such as device rotation information or device movement information (i.e., hand shaking information). Thus, in step 204, the frame selection unit 112 receives the image selection information INF_I of the current source image (i.e., sensor information of the current source image) from the auxiliary sensor 104. When the device rotation/movement exceeds a threshold setting TH1, the image selection information INF_I of the current source image would indicate that the current source image generated from the image capture apparatus 101 is an unreliable image. Hence, in step 206, the frame selection unit 112 compares the image selection information INF_I with the threshold setting TH1 to detect whether the device rotation/movement exceeds the threshold setting TH1. When it is determined that the device rotation/movement exceeds the threshold setting TH1, the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114, and the flow proceeds with step 202 to receive the next source image of the image input IMG_IN.

Alternatively, the auxiliary sensor 104 may be a light sensor which sets the image selection information INF_I according to the related sensor information such as detected ambient light. The image selection information INF_I is generated from the auxiliary sensor 104 while the image input IMG_IN is generated by the image capture apparatus 101. When the detected ambient light exceeds a threshold setting TH2 (e.g., the ambient light is too dark due to having a brightness level smaller than a lower bound defined by threshold setting TH2 or the ambient light is too bright due to having the brightness level larger than an upper bound defined by threshold setting TH2), the image selection information INF_I of the current source image would indicate that the current source image generated from the image capture apparatus 101 is an unreliable image. Hence, in step 208, the frame selection unit 112 compares the image selection information INF_I with the threshold setting TH2 to detect whether the detected ambient light exceeds the threshold setting TH2. When it is determined that the detected ambient light exceeds the threshold setting TH2, the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114, and the flow proceeds with step 202 to receive the next source image of the image input IMG_IN.

When the frame selection unit 112 determines that the current source image is not an unreliable image (steps 206 and 208), the current source image is transmitted to the following image processing unit 114. Hence, in step 210, the image processing unit 114 would perform at least one of object detection, object tracking and object recognition upon the current source image.

It should be noted that if the result is substantially the same, the steps are not required to be executed in the exact order shown in FIG. 2. In addition, based on the actual design requirement/consideration, one or more of the steps shown in FIG. 2 may be omitted, and/or additional step(s) may be inserted into the flow shown in FIG. 2.

As mentioned above, the image selection information ING_I may be generated from an element different from the auxiliary sensor 104. Please refer to FIG. 3 in conjunction with FIG. 1. FIG. 3 is a flowchart illustrating an exemplary image processing method based on the image selection information INF_I generated from a processing circuit of an image capture apparatus. The frame selection unit 112 checks source images included in the image input IMG_IN one by one. In step 302, the frame selection unit 112 receives a source image in the electronic device 100. In this embodiment, the image input IMG_IN is generated by the image capture apparatus 101, and the image selection information INF_I is generated from a processing circuit of the image capture apparatus 101 (e.g., image signal processor 105). The image signal processor 105 may obtain blur information (which may be calculated based on any well-known blur estimation algorithm), statistic information of focus, white-balance and exposure time (which may be obtained by a 3A (auto exposure, auto white balance, and auto focus) function), and global motion information (which may come from electronic image stabilization (EIS) processing). Hence, in step 304, the frame selection unit 112 receives the image selection information INF_I of the current source image from the image signal processor 105.

In a first design, the image signal processor 105 sets the image selection information INF_I according to the blur information. When the current source image is blurry, the image selection information INF_I of the current source image would indicate that the current source image generated from the image capture apparatus 101 is an unreliable image. In step 306, the frame selection unit 112 checks the image selection information INF_I to determine if the blur information (e.g., a blur level) of the current source image is larger than a threshold. When it is determined that the blur level of the current source image is larger than the threshold, the frame selection unit 112 regards the current source image as an unreliable image such that the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114. Next, the flow proceeds with step 302 to receive the next source image of the image input IMG_IN.

In a second design, the image signal processor 105 sets the image selection information INF_I according to the statistic information of focus, white-balance and exposure time. When the 3A function does not work properly, the current source image may be de-focused, under-exposed or over-exposed, or may have an incorrect white-balance setting. In this case, the image selection information INF_I of the current source image would indicate that the current source image generated from the image capture apparatus 101 is an unreliable image. In step 308, the frame selection unit 112 checks the image selection information INF_I to determine if the statistic information of focus, white-balance and exposure time shows that the current source image has an incorrect 3A setting. When it is determined that the current source image has incorrect focus, exposure time or white-balance, the frame selection unit 112 regards the current source image as an unreliable image such that the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114. Next, the flow proceeds with step 302 to receive the next source image of the image input IMG_IN.

In a third design, the image signal processor 105 sets the image selection information INF_I according to the global motion information. When the current source image is captured while the electronic device 100 is moving (e.g. due to hand shaking), the image selection information INF_I of the current source image would indicate that the current source image generated from the image capture apparatus 101 is an unreliable image. Hence, in step 310, the frame selection unit 112 checks the image selection information INF_I to determine if the global motion information (i.e., a global motion “hand shaking” level) has a non-zero value. When it is determined that the global motion level has a non-zero value, the frame selection unit 112 regards the current source image as an unreliable image such that the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114. Next, the flow proceeds with step 302 to receive the next source image of the image input IMG_IN.

When the frame selection unit 112 determines that the current source image is not an unreliable image (steps 306, 308 and 310), the current source image is transmitted to the following image processing unit 114. Hence, in step 312, the image processing unit 114 would perform at least one of object detection, object tracking and object recognition upon the current source image.

It should be noted that if the result is substantially the same, the steps are not required to be executed in the exact order shown in FIG. 3. In addition, based on the actual design requirement/consideration, one or more of the steps shown in FIG. 3 may be omitted, and/or additional step(s) may be inserted into the flow shown in FIG. 3.

Please refer to FIG. 4 in conjunction with FIG. 1. FIG. 4 is a flowchart illustrating an exemplary image processing method based on the image selection information INF_I generated from a processing circuit which also generates an image input. The frame selection unit 112 checks source images included in the image input IMG_IN one by one. In step 402, the frame selection unit 112 receives a source image in the electronic device 100. In this embodiment, the image input IMG_IN is generated by a processing circuit which is one of the video decoder 106, the frame rate converter 107 and the AV-Sync module 108, and the image selection information INF_I is also generated from the processing circuit. In step 404, the frame selection unit 112 receives the image selection information INF_I of the current source image from the processing circuit, where the image selection information INF_I gives frame characteristic information of a source image while the processing circuit generates the source image.

In a first design, the above-mentioned processing circuit is the frame rate converter 107. The frame rate converter 107 may obtain processed/interpolated frame information when performing the frame rate conversion processing, and sets the image selection information INF_I by the obtained processed/interpolated frame information. Supposing the frame rate converter 107 converts an image input with 30 FPS (frames per second) into the image input IMG_IN with 60 FPS, there would be 30 processed/interpolated frames per second. The image selection information INF_I provided by the frame rate converter 107 therefore indicates whether a source image is a processed/interpolated frame. Hence, in step 406, the frame selection unit 112 checks the image selection information INF_I (i.e., processed/interpolated frame information) to determine if the current source image is a processed/interpolated frame. When it is determined that the current source image is a processed/interpolated frame, the frame selection unit 112 regards the current source image as an unreliable image such that the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114. Next, the flow proceeds with step 402 to receive the next source image of the image input IMG_IN.

In a second design, the above-mentioned processing circuit is the video decoder 106. The video decoder 106 is arranged to decode a video bitstream to generate the image input IMG_IN composed of a plurality of successive source images. The video decoder 106 obtains an encoded flag of each encoded frame in a video bitstream when decoding the video bitstream, and sets the image selection information INF_I by the obtained flag information. Supposing the video decoder 106 decodes a 3:2 pull-down video bitstream, the repeat frame flags in the 3:2 pull-down video bitstream would indicate which decoded frames derived from decoding encoded frames with designated repeat frame flags should be repeated. The image selection information INF_I provided by the video decoder 106 therefore indicates whether a source image is a repeat frame generated by duplicating a decoded frame derived from decoding an encoded frame with a designated repeat frame flag. Hence, in step 408, the frame selection unit 112 checks the image selection information INF_I (e.g., repeat frame flag information) to determine if the current source image is a repeat frame. When it is determined that the current source image is a repeat frame, the frame selection unit 112 regards the current source image as an unreliable image such that the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114. Next, the flow proceeds with step 402 to receive the next source image of the image input IMG_IN.

In a third design, the above-mentioned processing circuit is the AV-Sync module 108. The AV-Sync module 108 is arranged to perform an AV-Sync operation to generate the image input IMG_IN such that the video playback of the image input IMG_IN is synchronized with the audio playback of an accompanying audio bitstream. For example, when the video playback of the image input IMG_IN leads the audio playback of the accompanying audio bitstream, the AV-Sync module 108 adds repeat frame(s) to the image input IMG_IN for allowing the audio playback to catch up the video playback, and also sets the image selection information INF_I to indicate which source image(s) in the image input IMG_IN are repeat frame(s). Hence, in step 410, the frame selection unit 112 checks the image selection information INF_I (i.e., repeat frame information) to determine if the current source image is a repeat frame generated due to audio-video synchronization. When it is determined that the current source image is a repeat frame, the frame selection unit 112 regards the current source image as an unreliable image such that the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114. Next, the flow proceeds with step 402 to receive the next source image of the image input IMG_IN.

When the frame selection unit 112 determines that the current source image is not an unreliable image (steps 406, 408 and 410), the current source image is transmitted to the following image processing unit 114. Hence, in step 412, the image processing unit 114 would perform at least one of object detection, object tracking and object recognition upon the current source image.

It should be noted that if the result is substantially the same, the steps are not required to be executed in the exact order shown in FIG. 4. In addition, based on the actual design requirement/consideration, one or more of the steps shown in FIG. 4 may be omitted, and/or additional step(s) may be inserted into the flow shown in FIG. 4.

In above exemplary implementation, the image selection information INF_I is generated automatically without user intervention. Alternatively, the image selection information INF_I may be a user-defined mode setting manually controlled by a user through the user interface 103. More specifically, the user may set the user-defined mode setting manually to enable either a normal mode or a simplified/low-power mode of the frame selection unit 112. When the frame selection unit 112 enters the normal mode in response to the user-defined mode setting, no source image in the image input IMG_IN is filtered out. When the frame selection unit 112 enters the simplified/low-power mode in response to the user-defined mode setting, the frame selection unit 112 is operative to filter out some source images of the image input IMG_IN periodically/non-periodically. For example, if a periodical skip scheme is employed, the frame selection unit 112 may skip N source image(s) per M successive source images, where M and N may be specified by the user-defined mode setting, and N<M. If a non-periodical skip scheme is employed, the frame selection unit 112 may skip source images randomly. When the simplified/low-power mode is selected, the computational complexity (amount) of the image processing unit 114 can be reduced, which may avoid thermal shutdown of the electronic device 100. To put it simply, no matter whether the image selection information INF_I (i.e., user-defined mode setting) instructs the frame selection unit 112 to employ a periodical skip scheme or a non-periodical skip scheme, a source image in the image input IMG_IN is skipped by the frame selection unit 112 when a skip criterion controlled by the image selection information INF_I (i.e., user-defined mode setting) is met.

Please refer to FIG. 5 in conjunction with FIG. 1. FIG. 5 is a flowchart illustrating an exemplary image processing method based on the image selection information INF_I generated from a user interface. The frame selection unit 112 checks source images included in the image input IMG_IN one by one. In step 502, the frame selection unit 112 receives a source image in the electronic device 100. In this embodiment, the image input IMG_IN is generated by one of image capture apparatus 101, video decoder 106, frame rate converter 107 and AV-Sync module 108, and the image selection information INF_I is generated from the user interface 103. Hence, in step 504, the frame selection unit 112 receives the image selection information INF_I for the current source image, where the image selection information INF_I includes a user-defined mode setting. In step 506, the frame selection unit 112 checks the image selection information INF_I to determine if the current mode is a simplified/low-power mode selected by the user-defined mode setting. When the current mode is a simplified/low-power mode selected by the user-defined mode setting, the frame selection unit 112 further checks if a skip criterion which is defined for periodically/non-periodically skipping source images is met (step 508). When the skip criterion is met, the frame selection unit 112 regards the current source image as a redundant image such that the current source image is skipped without being included in the image output IMG_S supplied to the following image processing unit 114. Next, the flow proceeds with step 502 to receive the next source image in the image input IMG_IN.

When the frame selection unit 112 determines that the current mode is a normal mode selected by the user-defined mode setting (step 506) or the current source image is not a redundant image (step 508), the current source image is transmitted to the following image processing unit 114. Hence, in step 512, the image processing unit 114 would perform at least one of object detection, object tracking and object recognition upon the current source image.

It should be noted that if the result is substantially the same, the steps are not required to be executed in the exact order shown in FIG. 5. In addition, based on the actual design requirement/consideration, one or more of the steps shown in FIG. 5 may be omitted, and/or additional step(s) may be inserted into the flow shown in FIG. 5.

As mentioned above, the frame selection unit 112 may skip some source images (e.g., unreliable/redundant images) included in the image input IMG_IN. Hence, the unreliable/redundant images are not processed by the image processing unit 114 for object detection/object tracking. Regarding each of the unreliable/redundant images, there is no object marker found in the unreliable/redundant image by the image processing unit 114. However, when the image input IMG_IN in the buffer 109 is displayed on a display screen (not shown), an object marker is required to be shown on the displayed unreliable/redundant image for indicating the position of the detected/tracked object. In this embodiment, the object marker estimator 116 is implemented to determine a display position of an object marker estimated for each unreliable/redundant image that is not processed by the image processing unit 114.

FIG. 6 is a diagram illustrating an example of determining a position of an estimated object marker. As shown in FIG. 6, there are successive source images F₁-F₈. In this example, source images F2, F4 are selected by the frame selection unit 112, and the source image F3 between the source images F2, F4 is skipped by the frame selection unit 112. The image processing unit 114 processes the source images F2, F4, and obtains detected object markers of an object (e.g., human face) located at display positions P2, P4. The object marker estimator 116 may refer to at least a display position of an object marker of an object processed by the object oriented image processing operation in a selected source image to estimate a display position of an object marker of the object in a skipped source image. For example, the object marker estimator 116 may perform linear/nonlinear interpolation based on one or both of the display positions P2 and P4 to obtain an estimated object market located at a display position P₃.

As mentioned above, the image processing apparatus 110 skips unreliable/redundant images to reduce the computational complexity (amount) of the image processing unit 114 and/or improve the accuracy of the object detection/object tracking/object recognition result. In an alternative design, an image processing apparatus is configured to have an image processing unit which switches between different image processing algorithms (e.g., a normal algorithm and a simplified/low-power algorithm). In this way, the computational complexity of the image processing unit can be reduced.

FIG. 7 is a diagram illustrating an image processing apparatus according to another embodiment of the present invention. The image processing apparatus 710 may be part of an electronic device 700 such as a digital camera, a smartphone or any device requiring an object detection/object tracking/object recognition function. The major difference between the electronic devices 100 and 700 is the image processing apparatus 710 having an algorithm selection unit 712, an image processing unit 714 and an object marker estimator 716. The algorithm selection unit 712 receives algorithm selection information INF_A generated from at least one of user interface 103, auxiliary sensor 104, image signal processor 105, video decoder 106, frame rate converter 107, and AV-Sync module 108. It should be noted that the algorithm selection information INF_A and the image selection information INF_I may be generated by the same manner. As a person skilled in the art can readily understand details directed to generation of the algorithm selection information INF_A after reading above paragraphs directed to the generation of the image selection information INF_I, further description is omitted here for brevity.

Regarding each source image included in the image input IMG_IN, the algorithm selection unit 712 checks the algorithm selection information INF_A to determine a selected image processing algorithm from a plurality of different image processing algorithms (e.g., a normal algorithm A1 and a simplified/low-power algorithm A2), and sends an algorithm selection signal SC to the image processing unit 714 to enable the selected image processing algorithm. Specifically, when it is determined that the current source image is not a redundant/unreliable image and therefore should be processed using the normal algorithm A1, the algorithm selection signal SC instructs the image processing unit 714 to employ the normal algorithm A1; and when it is determined that the current source image is a redundant/unreliable image and therefore should be processed using the simplified/low-power algorithm A2, the algorithm selection signal SC instructs the image processing unit 714 to employ the simplified/low-power algorithm A2.

The image processing unit 714 receives the image input IMG_IN stored in the buffer 109, where the image input IMG_IN is composed of at least one source image. That is, the image input IMG_IN carries a video content when having a plurality of successive source images, or carries a still image content when having a single source image. In this embodiment, the image input IMG_IN may be an output of at least one of image sensor 102, video decoder 106, frame rate converter 107, and AV-Sync module 108. Regarding each source image included in the image input IMG_IN, the image processing unit 714 performs an image processing operation upon the source image based on the selected image processing algorithm as indicated by the algorithm selection signal SC. By way of example, but not limitation, the image processing operation may be an object oriented image processing operation including at least one of object detection, object tracking, and object recognition. However, this is for illustrative purposes only, and is not meant to be a limitation of the present invention.

The normal algorithm A1 is employed for processing a source image which is not a redundant/unreliable image due to the fact that the algorithm selection unit 712 is configured to determine the selected image processing algorithm to be the normal algorithm A1 when the algorithm selection information INF_A indicates that the source image is not a redundant/unreliable image. The simplified/low-power algorithm A2 is employed for processing a source image which is a redundant/unreliable image due to the fact that the algorithm selection unit 712 is configured to determine the selected image processing algorithm to be the simplified/low-power algorithm A2 when the algorithm selection information INF_A indicates that the source image is a redundant/unreliable image. Compared to the image processing operation performed upon a source image based on the normal algorithm A1, the image processing operation performed upon the same source image based on the simplified/low-power algorithm A2 has a reduced computation/calculation amount or lower power consumption. For example, when the image processing operation performed by the image processing unit 714 is object detection, the simplified/low-power algorithm A2 may be a fast object detection algorithm with a reduced object search window size and/or a reduced number of object search target sizes. Specifically, with regard to the normal object detection algorithm, the image processing unit 714 shifts an object search window by one pixel in each step. However, with regard to the fast object detection algorithm, the image processing unit 714 shifts the object search window by N pixels in each step, where N>1. In addition, with regard to the normal object detection algorithm, the image processing unit 714 may employ four different object search target sizes, sequentially. However, with regard to the fast object detection algorithm, the image processing unit 714 may employ two of the four different object search target sizes, sequentially. It should be noted that, this is for illustrative purposes only, and is not meant to be a limitation of the present invention.

Please refer to FIG. 8 in conjunction with FIG. 7. FIG. 8 is a flowchart illustrating an exemplary image processing method based on the algorithm selection information INF_A generated from an auxiliary sensor. The image processing unit 714 processes source images included in the image input IMG_IN one by one. In step 802, the image processing unit 714 receives a source image in the electronic device 700. In a case where the algorithm selection information INF_A is generated from the auxiliary sensor 104 while the image input IMG_IN is generated by the image capture apparatus 101, the algorithm selection unit 712 receives the algorithm selection information INF_A of the current source image (i.e., sensor information of the current source image) from the auxiliary sensor 104 (step 804). In step 806, the algorithm selection unit 712 compares the algorithm selection information INF_A with the threshold setting TH1 to detect whether the device rotation/movement exceeds the threshold setting TH1. When it is determined that the device rotation/movement exceeds the threshold setting TH1, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 812.

Alternatively, the auxiliary sensor 104 may be a light sensor which sets the algorithm selection information INF_A according to the related sensor information such as detected ambient light. In step 808, the algorithm selection unit 712 compares the algorithm selection information INF_A with the threshold setting TH2 to detect whether the detected ambient light exceeds the threshold setting TH2. When it is determined that the detected ambient light exceeds the threshold setting TH2, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 812.

When the algorithm selection unit 712 determines that the current source image is not an unreliable image (steps 806 and 808), the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the normal algorithm A1, and the flow proceeds with step 810.

In step 812, the image processing unit 714 performs at least one of object detection, object tracking and object recognition upon the current source image based on the simplified/low-power algorithm A2. However, in step 810, the image processing unit 714 performs at least one of object detection, object tracking and object recognition upon the current source image based on the normal algorithm A1.

It should be noted that if the result is substantially the same, the steps are not required to be executed in the exact order shown in FIG. 8. In addition, based on the actual design requirement/consideration, one or more of the steps shown in FIG. 8 may be omitted, and/or additional step(s) may be inserted into the flow shown in FIG. 8.

Please refer to FIG. 9 in conjunction with FIG. 7. FIG. 9 is a flowchart illustrating an exemplary image processing method based on the algorithm selection information INF_A generated from a processing circuit of an image capture apparatus. The image processing unit 714 processes source images included in the image input IMG_IN one by one. In step 902, the image processing unit 714 receives a source image in the electronic device 700. In this embodiment, the image input IMG_IN is generated by the image capture apparatus 101, and the algorithm selection information INF_A is generated from a processing circuit of the image capture apparatus 101 (e.g., image signal processor 105). In step 904, the algorithm selection unit 712 receives the algorithm selection information INF_A of the current source image from the image signal processor 105.

In a first design, the image signal processor 105 sets the algorithm selection information INF_A according to the blur information. In step 906, the algorithm selection unit 712 checks the algorithm selection information INF_A to determine if the blur information (e.g., a blur level) of the current source image is larger than a threshold. When it is determined that the blur level of the current source image is larger than the threshold, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 914.

In a second design, the image signal processor 105 sets the algorithm selection information INF_A according to the statistic information of focus, white-balance and exposure time. In step 908, the algorithm selection unit 712 checks the algorithm selection information INF_A to determine if the statistic information of focus, white-balance and exposure time shows that the current source image has an incorrect 3A setting. When it is determined that the current source image has incorrect focus, exposure time or white-balance, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 914.

In a third design, the image signal processor 105 sets the algorithm selection information INF_A according to the global motion information. In step 910, the algorithm selection unit 712 checks the algorithm selection information INF_A to determine if the global motion information (i.e., a global motion level) has a non-zero value. When it is determined that the global motion level has a non-zero value, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 914.

When the algorithm selection unit 712 determines that the current source image is not an unreliable image (steps 906, 908 and 910), the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the normal algorithm A1, and the flow proceeds with step 912.

In step 914, the image processing unit 714 performs at least one of object detection, object tracking and object recognition upon the current source image based on the simplified/low-power algorithm A2. However, in step 912, the image processing unit 714 performs at least one of object detection, object tracking and object recognition upon the current source image based on the normal algorithm A1.

It should be noted that if the result is substantially the same, the steps are not required to be executed in the exact order shown in FIG. 9. In addition, based on the actual design requirement/consideration, one or more of the steps shown in FIG. 9 may be omitted, and/or additional step(s) may be inserted into the flow shown in FIG. 9.

Please refer to FIG. 10 in conjunction with FIG. 7. FIG. 10 is a flowchart illustrating an exemplary image processing method based on the algorithm selection information INF_A generated from a processing circuit which also generates an image input. The image processing unit 714 processes source images included in the image input IMG_IN one by one. In step 1002, the image processing unit 714 receives a source image in the electronic device 700. In this embodiment, the image input IMG_IN is generated by a processing circuit which is one of the video decoder 106, the frame rate converter 107 and the AV-Sync module 108, and the algorithm selection information INF_A is generated from the processing circuit. In step 1004, the algorithm selection unit 712 receives the algorithm selection information INF_A of the current source image from the processing circuit.

In a first design, the above-mentioned processing circuit is the frame rate converter 107. In step 1006, the algorithm selection unit 712 checks the algorithm selection information INF_A (i.e., processed/interpolated frame information) to determine if the current source image is a processed/interpolated frame. When it is determined that the current source image is a processed/interpolated frame, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 1014.

In a second design, the above-mentioned processing circuit is the video decoder 106. In step 1008, the algorithm selection unit 712 checks the algorithm selection information INF_A (e.g., repeat frame flag information) to determine if the current source image is a repeat frame. When it is determined that the current source image is a repeat frame, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 1014.

In a third design, the above-mentioned processing circuit is the AV-Sync module 108. In step 1010, the algorithm selection unit 712 checks the algorithm selection information INF_A (i.e., repeat frame information) to determine if the current source image is a repeat frame generated due to audio-video synchronization. When it is determined that the current source image is a repeat frame, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 1014.

When the algorithm selection unit 712 determines that the current source image is not an unreliable image (steps 1006, 1008 and 1010), the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the normal algorithm A1, and the flow proceeds with step 1012.

In step 1014, the image processing unit 714 performs at least one of object detection, object tracking and object recognition upon the current source image based on the simplified/low-power algorithm A2. However, in step 1012, the image processing unit 714 performs at least one of object detection, object tracking and object recognition upon the current source image based on the normal algorithm A1.

It should be noted that if the result is substantially the same, the steps are not required to be executed in the exact order shown in FIG. 10. In addition, based on the actual design requirement/consideration, one or more of the steps shown in FIG. 10 may be omitted, and/or additional step(s) may be inserted into the flow shown in FIG. 10.

Please refer to FIG. 11 in conjunction with FIG. 7. FIG. 11 is a flowchart illustrating an exemplary image processing method based on the algorithm selection information INF_A generated from a user interface. The image processing unit 714 checks source images included in the image input IMG_IN one by one. In step 1102, the image processing unit 714 receives a source image in the electronic device 100. In this embodiment, the image input IMG_IN is generated by one of image capture apparatus 101, video decoder 106, frame rate converter 107, and AV-Sync module 108, and the algorithm selection information INF_A is generated from the user interface 103. Hence, in step 1104, the algorithm selection unit 712 receives the algorithm selection information INF_A for the current source image, where the algorithm selection information INF_A includes a user-defined mode setting. In step 1106, the algorithm selection unit 712 checks the algorithm selection information INF_A to determine if the current mode is a simplified/low-power mode selected by the user-defined mode setting. When the current mode is a simplified/low-power mode selected by the user-defined mode setting, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the simplified/low-power algorithm A2, and the flow proceeds with step 1110. When the current mode is a normal mode selected by the user-defined mode setting, the algorithm selection unit 712 generates the algorithm selection signal SC to set the selected image processing algorithm by the normal algorithm A1, and the flow proceeds with step 1108.

In step 1110, the image processing unit 714 performs at least one of object detection, object tracking and object recognition upon the current source image based on the simplified/low-power algorithm A2. However, in step 1108, the image processing unit 714 performs at least one of object detection, object tracking and object recognition upon the current source image based on the normal algorithm A1.

It should be noted that if the result is substantially the same, the steps are not required to be executed in the exact order shown in FIG. 11. In addition, based on the actual design requirement/consideration, one or more of the steps shown in FIG. 11 may be omitted, and/or additional step(s) may be inserted into the flow shown in FIG. 11.

As mentioned above, the image processing unit 714 may employ a simplified/low-power algorithm A2 to process a redundant/unreliable image. However, the display position of the object marker found for the redundant/unreliable image may be inaccurate. In this embodiment, the object marker estimator 716 is implemented to refine the display position of the object marker found for the redundant/unreliable image.

FIG. 12 is a diagram illustrating an example of refining a position of a detected object marker. As shown in FIG. 12, there are successive source images F₁-F₈. In this example, source images F2, F4 are processed using the normal algorithm A1, and the source image F3 between the source images F2, F4 is processed using the simplified/low-power algorithm A2. The image processing unit 114 processes the source images F2-F4, and obtains detected object markers of an object (e.g., human face) located at display positions P2, P3, P4. The object marker estimator 716 may refer to at least a display position of an object marker of an object processed by the image processing operation in a first source image to refine a display position of an object marker of the object processed by the image processing operation in a second source image, where the first source image and the second source image are processed by the image processing operation based on different selected processing algorithms (e.g., the normal algorithm A1 and the simplified/low-power algorithm A2) respectively. For example, the object marker estimator 716 may refine the display position of the detected object marker according to linear/nonlinear interpolation based on one or both of the display positions P2 and P4 to thereby obtain a refined object market located at a display position P₃′.

Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims. 

What is claimed is:
 1. An image processing method, comprising: receiving an image input in a device, wherein the image input is composed of at least one source image; receiving image selection information; regarding a source image included in the image input, checking the image selection information to determine whether the source image is selected or skipped; and performing an object oriented image processing operation upon each selected source image.
 2. The image processing method of claim 1, wherein the object oriented image processing operation includes at least one of object detection, object tracking, and object recognition.
 3. The image processing method of claim 1, wherein the image selection information is generated from an auxiliary sensor while the image input is generated by an image capture apparatus with an image sensor.
 4. The image processing method of claim 1, wherein the image input is generated by an image capture apparatus, and the image selection information is generated from a processing circuit of the image capture apparatus.
 5. The image processing method of claim 1, wherein the image input and the image selection information are both generated from a processing circuit, and the processing circuit is one of a video decoder, a frame rate converter, and an audio/video synchronization (AV-Sync) module.
 6. The image processing method of claim 1, wherein the image selection information is a user-defined mode setting.
 7. The image processing method of claim 1, further comprising: referring to at least a display position of an object marker of an object processed by the object oriented image processing operation in a selected source image to estimate a display position of an object marker of the object in a skipped source image.
 8. An image processing method, comprising: receiving an image input in a device, wherein the image input is composed of at least one source image; receiving algorithm selection information; and regarding a source image included in the image input, checking the algorithm selection information to determine a selected image processing algorithm from a plurality of different image processing algorithms, and performing an image processing operation upon the source image based on the selected image processing algorithm.
 9. The image processing operation of claim 8, wherein the image processing operation is an object oriented image processing operation.
 10. The image processing method of claim 9, wherein the object oriented image processing operation includes at least one of object detection, object tracking, and object recognition.
 11. The image processing operation of claim 8, wherein the different image processing algorithms includes a first image processing algorithm and a second image processing algorithm; and compared to the image processing operation performed upon the source image based on the first image processing algorithm, the image processing operation performed upon the source image based on the second image processing algorithm has a reduced computation/calculation amount or lower power consumption.
 12. The image processing method of claim 8, wherein the algorithm selection information is generated from an auxiliary sensor while the image input is generated by an image capture apparatus with an image sensor.
 13. The image processing method of claim 8, wherein the image input is generated by an image capture apparatus, and the algorithm selection information is generated from an image processing module of the image capture apparatus.
 14. The image processing method of claim 8, wherein the image input and the algorithm selection information are both generated from a processing circuit, and the processing circuit is one of a video decoder, a frame rate converter, and an audio/video synchronization (AV-Sync) module.
 15. The image processing method of claim 8, wherein the algorithm selection information is a user-defined mode setting.
 16. The image processing method of claim 8, wherein the image input includes a first source image and a second source image processed by the image processing operation based on different selected processing algorithms respectively; and the image processing method further comprises: referring to at least a display position of an object marker of an object processed by the image processing operation in the first source image to refine a display position of an object marker of the object processed by the image processing operation in the second source image.
 17. An image processing apparatus, comprising: a frame selection unit, arranged for receiving an image input in a device, wherein the image input is composed of at least one source image; receiving image selection information; and regarding a source image included in the image input, checking the image selection information to determine whether the source image is selected or skipped; and an image processing unit, arranged for performing an object oriented image processing operation upon each selected source image.
 18. The image processing apparatus of claim 17, wherein the object oriented image processing operation performed by the image processing unit includes at least one of object detection, object tracking, and object recognition.
 19. An image processing apparatus, comprising: an image processing unit, arranged for receiving an image input in a device, wherein the image input is composed of at least one source image; and performing an image processing operation upon a source image based on a selected image processing algorithm; and an algorithm selection unit, arranged for receiving algorithm selection information; and regarding the source image included in the image input, checking the algorithm selection information to determine the selected image processing algorithm from a plurality of different image processing algorithms.
 20. The image processing apparatus of claim 19, wherein the image processing operation performed by the image processing unit is an object oriented image processing operation. 